(function() {

  window.login = {};

  login.initialize = function() {
    $('#login-box').modal({
      backdrop: false,
      keyboard: false
    });
    return $('#login-btn').click(function() {
      $('#login-box').modal('hide');
      $('.navbar').fadeIn();
      return $('#dojo').fadeIn();
    });
  };

}).call(this);

(function() {

  $(function() {
    login.initialize();
    $('.btn-group').button();
    return $('.dropdown-toggle').dropdown();
  });

}).call(this);
